package com.eportal.service;

import com.eportal.domain.TCommodityPrice;
import com.eportal.domain.TLock;
import com.framework.jqgrid.JqGridPager;

import java.util.List;
import java.util.Map;

/**
 * Created by Saber on 2017/7/10.
 */
public interface TCommodityPriceService {

    List<TCommodityPrice> list(JqGridPager jqGridPager);

    TLock get(Long id);

    TLock getHql(String where);

    void delete(Long id);

    void update(TCommodityPrice tCommodityPrice) throws Exception;

    void delete(List<Long> ids);

    TCommodityPrice add(TCommodityPrice tCommodityPrice) throws Exception;

    Map<String, Object> addMethod(TCommodityPrice tCommodityPrice, String type);

    Map<String, Object> updateMethod(TCommodityPrice tCommodityPrice);

    Map<String, Object> deleteMethod(String param_ids);
}
